package com.vinci.util;

/**
 * 常量类
 */
public class Constants {
    public final static String OK_COOE = "00000";//正确执行返回状态码
    public final static String FAIL_COOE = "A0001";//用户端错误
    public final static String USER_CHECK_FAIL_COOE = "A0110";//用户名校验失败
    public final static String USER_EXISTS_COOE = "A0111";//用户名已存在
    public final static String USER_SPECIAL_CHARACTERS_COOE = "A0113";//用户名包含特殊字符
    public final static String PASS_CHECK_FAIL_COOE = "A0120";//密码校验失败
    public final static String PASS_LENGTH_NO_COOE = "A0121";//密码长度不够
    public final static String EMAIL_CHECK_FAIL_COOE = "A0132";//邮件校验码输入错误
    public final static String USER_PAPERS_EXCEPTION_COOE = "A0140";//用户证件异常
    public final static String ID_CARD_ILLEGAL_COOE = "A0142";//大陆身份证编号校验非法
    public final static String PHONE_CHECK_FAIL_COOE = "A0151";//手机格式校验失败
    public final static String EMAIL_FARMAT_FAIL_COOE = "A0153";//邮箱格式校验失败
    public final static String USER_LOGIN_EXCEPTION_COOE = "A0200";//用户登陆异常
    public final static String USER_NON_EXISTENT_COOE = "A0201";//用户账户不存在
    public final static String PASS_ERROR_COOE = "A0210";//用户密码错误
    public final static String JSON_FAIL_COOE = "A0472";//请求 JSON 解析失败

    public final static String  OTHER_FAIL_COOE = "33333";//其他错误
    public final static String OK_MSG = "请求成功";
    public final static String FAIL_MSG = "请求失败";
    public final static int STATUS_0 = 0;//可用状态
    public final static int STATUS_1 = 1;//禁用状态
    public final static String CACHE_NAME = "KACache";
}
